package com.cos.lession77.service;

import com.cos.lession77.entity.Emp;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author: COS
 * @time: 2022/10/10 9:22
 * @description:
 */
public interface EmpServices {
    List<Emp> getAll();

    PageInfo<Emp> getEmpByPage(Integer pageNum, Integer pageSize);

    boolean delEmp(Integer eno);

    boolean addEmp(Emp emp);

    Emp getEmpByEno(Integer eno);

    boolean updateEmp(Emp emp);
}
